mod routes;
mod handlers;
mod resource;
use crate::resource::tenant::entity::tenant::test;

#[tokio::main]
async fn main() {
    println!("{}", test());
    // 构建路由
    let routes = routes::init_routes();

    // 启动Warp服务器
    warp::serve(routes).run(([127, 0, 0, 1], 3031)).await;
}